package com.dongqi.myblog.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dongqi.myblog.po.TComment;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author dongqi
 * @since 2020-08-03
 */
public interface TCommentService extends IService<TComment> {

    List<TComment> getComments(Page<TComment> page, Long blogId);

    boolean saveComment(TComment comment);

}
